home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3167 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  857 b 

  1. Path: munnari.OZ.AU!metro!metro!news
  2. From: accolyte@wr.com.au (Accolyte)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: ds.l
  5. Date: 8 Feb 1996 05:08:55 GMT
  6. Organization: Information Services, The University of Sydney, NSW, Australia
  7. Distribution: inet
  8. Message-ID: <391.6612T966T1819@wr.com.au>
  9. References: <497.6609T1129T586@mbox3.swipnet.se> <4faqf4$39b@oreig.uji.es>
  10. NNTP-Posting-Host: dialup21.wr.com.au
  11. X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
  12.  
  13.  
  14. >> When using FileInfoBlock it must be long word aligned.
  15. >> Q: In asm you have 'ds.l'. Is there any equal in C?
  16. >
  17. > IMHO dynamic memory is longword aligned.
  18.  
  19. I think it's aligned to 8 bytes isn't it?
  20.  
  21. > For static memory, reserve bytesneeded+3 bytes, get a pointer to the
  22. > reserved position and AND it with 0xfffffffc
  23.  
  24. Or alternatively, the start of any segment is aligned (to 8 bytes?)
  25.  
  26.  
  27.